package com.rd.student.jike.class1.sunhao.day11;


import java.util.Date;

public class MyRunnable implements Runnable {
    public void run(){
        System.out.println(Thread.currentThread().getName()+" time"+ new Date());
        try{
            Thread.sleep(2000);

        }catch (InterruptedException e ){
            e.printStackTrace();
        }
        System.out.println(Thread.currentThread().getName()+"time="+new Date());
    }
}
